package com.ruoyi.cms.service.impl;

import com.ruoyi.cms.domain.SearchRecord;
import com.ruoyi.cms.mapper.SearchRecordMapper;
import com.ruoyi.cms.service.SearchRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SearchRecordServiceImpl implements SearchRecordService {

	@Autowired
	private SearchRecordMapper searchRecordMapper;

	@Override
	public int add(SearchRecord sr) {
		return searchRecordMapper.insert(sr);
	}

}
